package com.yc.bbs.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yc.bbs.entity.Advertisement;
import com.yc.bbs.entity.User;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author csl
 * @since 2024-12-07
 */
public interface AdvertisementMapper extends BaseMapper<Advertisement> {
    @Select("SELECT * FROM tbl_advertisement")
    List<Advertisement> selectAdvertisement();
}
